﻿#define _CRT_SECURE_NO_WARNINGS 1

class Solution {
public:
    void reverseString(vector<char>& s)
    {
        int begin = 0, end = s.size() - 1;
        while (begin < end)
        {
            char tmp = s[begin];
            s[begin] = s[end];
            s[end] = tmp;
            begin++;
            end--;
        }
    }
};

